package classes;

import java.sql.SQLException;
import java.util.Timer;

///this is the class which invokes the timer task class
////TIMERTASK CLASS INVOKER
public class TimerTaskInvoker {

	Timer t;
	TimerTaskInvoker() throws ClassNotFoundException, SQLException{
		t=new Timer();
		TaskOfTimer t2=new TaskOfTimer();
	//	t.schedule(t2, t2.startoftimer, 86400000);
		t.schedule(t2, 0, 3000000);
	}
	
	public static void main(String args[]) throws ClassNotFoundException, SQLException{
		new TimerTaskInvoker();
	}
}
